﻿using System.Collections.Generic;
using System.Collections.ObjectModel;
using Mal.Balades.Admin.Services;

namespace Mal.Balades.Admin.AdminWebService
{
    public partial class VisitDashboard : IVisitDashboard
    {
        public static ReadOnlyCollection<IVisitDashboard> Convert(List<VisitDashboard> source)
        {
            List<IVisitDashboard> results = new List<IVisitDashboard>();

            foreach (VisitDashboard item in source)
            {
                results.Add(item);
            }

            return new ReadOnlyCollection<IVisitDashboard>(results);
        }
    }
}
